package com.liqw.auto.conditional;

import com.liqw.Constant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

@Slf4j
@Conditional(CustomCondition.class)
@Component
class ConditionalService {
    public ConditionalService() {
        System.out.println(Constant.getStepStr("ConditionalService.ConditionalService") + "ConditionalService @Conditional控制的Bean被创建");
    }
}